package com.lzh.others.basejava.Exception_12;

import cn.hutool.core.lang.Console;

/**
 * @author by lzh
 * @Classname Test
 * @Description TODO
 * @Date 2022/6/27 23:46
 */
public class Test {
    public static void main(String[] args) throws MyTsetException {
        try {
            throw new MyTsetException("test");
        } catch (MyTsetException e) {
            e.printStackTrace();
        } finally {
            Console.log("finally");
        }
    }
}

class MyTsetException extends Exception {
    public MyTsetException() {
    }

    public MyTsetException(String msg) {
        super(msg);
    }
}
